package com.oop.ch04;

public class Car {
	private int site=4;//座位数
	
	public Car(){
		System.out.println("1-载客量是："+site+"人");
	}
	
	public void print(){
		System.out.println("2-载客量是："+site+"人");
	}
	
	public int getSite() {
		return site;
	}
	
	public void setSite(int site) {
		this.site = site;
	}
}
